import request from '@/utils/request'

// 登录验证
export const login = (username: string) => {
  return request.get(`/user/byName/${username}`)
}